package com.teach;

/**
 * <pre>
 * -
 * Author : J.L.Zhou
 * E-Mail : 2233875735@qq.com
 * Tel : 151 1104 7708
 * Date : 2021-04-02 9:45
 * Version : 1.0
 * Copyright 2021 jlzhou.top Inc. All rights reserved.
 * Warning: this content is only for internal circulation of the company.
 *          It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 **/
public class Test1 {
  public static void main(String[] args) {
    Person p1 = new Person("张三", '男', 36, 160, "430000199901011111");
    System.out.println(p1);
    p1.eating();
    p1.sleep();

    Student s1 = new Student();
    s1.sex='女';
//    s1.age=18;
    s1.setName("李四");
    s1.eating();
    s1.sleep();
    s1.study();

    Teacher t1 = new Teacher();
    t1.setName("王五");
    t1.eating();
    t1.sleep();
    t1.teach();
  }
}
